package com.locale;

import java.util.Locale;
import java.util.ResourceBundle;

/**
 * Created by buguniao on 16/1/23.
 */
public class Test {
    public static void main(String[] args){
//        Locale.setDefault(new Locale("en","US"));
//        System.out.println(Locale.getDefault());
        ResourceBundle bundle = ResourceBundle.getBundle("file");
        System.out.println(bundle.getString("name"));
    }
}
